package br.fmapn.process.entities;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;

/**
 * Entity class representing a User responsible for a operation   
 * @author Fellipe
 */
@Entity(name = "UserFMAP")
public class User implements Serializable {
	
	private static final long serialVersionUID = 914827190589404741L;
	private int id;
	private String name;
	private UserBusinessOperation userBussinesBusinessOperation;
	
	public User() {
		super();
	}
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String nome) {
		this.name = nome;
	}
}
